﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZY.EntityFrameWork.Core.Model.Entity.Authority
{
    public class Role:BaseEntity
    {
        public Role()
        {
            Users = new Collection<User>();
            RoleModules = new Collection<RoleModule>();
        }
        //public int Id { get; set; }
        public String RoleName { get; set; }
        public String Description { get; set; }
        public virtual ICollection<User> Users { get; set; }
        public virtual ICollection<RoleModule> RoleModules { get; set; }
    }
}
